package app.ep1.test;

import android.test.ActivityInstrumentationTestCase2;
import app.ep1.portoes.PortoesActivity;

public class PortoesValidation extends
		ActivityInstrumentationTestCase2<PortoesActivity> {
	public PortoesValidation() {
		super("app.ep1.portoes", PortoesActivity.class);
	}

	protected void setUp() throws Exception {
		super.setUp();
	}

	public void testPegaFimDasFilas() {
		PortoesActivity portoesActivity = getActivity();

		portoesActivity.pegaFilasJaCadastradas();

		assertNotNull(portoesActivity.getFilaP1Sair());
		assertNotNull(portoesActivity.getFilaP2Sair());
		assertNotNull(portoesActivity.getFilaP3Sair());
	}
}
